Include config.h first
authorMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 17:19:26 +0000 (13:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 18:22:13 +0000 (14:22 -0400)
Otherwise, we miss the _GNU_SOURCE #define that configure
puts there.

gdk/wayland/gdkdevice-wayland.c

index efe413ab3dae9f3a109f086e8d20e8c64c5cd197..26d81b43eb1388e944e90563a9d333827804347e 100644 (file)
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
+
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
 
-#include "config.h"
-
 #include <string.h>
 #include <gdk/gdkwindow.h>
 #include <gdk/gdktypes.h>